(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
	["pages/service/repair"], {
		"0827": function (t, e, o) {
			"use strict";
			(function (t) {
				o("114d");
				n(o("66fd"));
				var e = n(o("584f"));

				function n(t) {
					return t && t.__esModule ? t : {
						default: t
					}
				}
				t(e.default)
			}).call(this, o("543d")["createPage"])
		},
		"4d9e": function (t, e, o) {},
		5729: function (t, e, o) {
			"use strict";
			var n = o("4d9e"),
				r = o.n(n);
			r.a
		},
		"584f": function (t, e, o) {
			"use strict";
			o.r(e);
			var n = o("c919"),
				r = o("5a56");
			for (var a in r) "default" !== a && function (t) {
				o.d(e, t, (function () {
					return r[t]
				}))
			}(a);
			o("5729");
			var i, u = o("f0c5"),
				s = Object(u["a"])(r["default"], n["b"], n["c"], !1, null, null, null, !1, n["a"], i);
			e["default"] = s.exports
		},
		"5a56": function (t, e, o) {
			"use strict";
			o.r(e);
			var n = o("72cf"),
				r = o.n(n);
			for (var a in n) "default" !== a && function (t) {
				o.d(e, t, (function () {
					return n[t]
				}))
			}(a);
			e["default"] = r.a
		},
		"72cf": function (t, e, o) {
			"use strict";
			(function (t) {
				Object.defineProperty(e, "__esModule", {
					value: !0
				}), e.default = void 0;
				n(o("5100"));

				function n(t) {
					return t && t.__esModule ? t : {
						default: t
					}
				}
				
				var r = {
					data: function () {
						return {
							mission: [{
								name: "上门理发"
							}, {
								name: "上门照顾"
							}, {
								name: "上门清洁"
							}, {
								name: "上门接送"
							},{
								name: "更换灯泡"
							}],
							active: "",
							location: ["9组团-9-3栋-11", "9组团-9-3栋-22", "9组团-9-3栋-33",
								"9组团-9-3栋-44"
							],
							doorNum: "",
							myFormData: {
								doorNum: "",
								qdetail: "",
								trouble: ""
							},
							userUrl: "/sys/user/queryById",
							positionUrl: "/sys/position/list",
							departUrl: "/sys/user/userDepartList"
						}
					},
					onLoad: function () {},
					methods: {
						getSubStringText: function (t, e) {
							return t && 0 != t.length ? t.length < e ? t : t.substr(0, e) +
								"..." : ""
						},
						rightClick: function () {
							t.navigateTo({
								url: "/pages/service/repair"
							})
						},
						openPopuos1: function () {
							this.$refs.popups1.open()
						},
						chooseDoor: function (t) {
							this.doorNum = t, this.myFormData.doorNum = t, this.$refs.popups1
								.close()
						},
						chooseFs: function (t) {
							this.myFormData.trouble = t.name
						},
						cChange: function (t) {
							this.PageCur = t.currentTarget.dataset.cur, console.log(this
								.PageCur)
						},
						sequ: function (t) {
							this.active = t
						},
						onSubmit: function () {
							var t = this,
								e = this.myFormData;
							return e.doorNum && 0 != e.doorNum.length ? e.trouble && 0 != e
								.trouble.length ? (this.myFormData.id = this.$store.getters
									.userid, console.log("myform", this.myFormData.doorNum),
									console.log("myform", this.myFormData.trouble), console.log(
										"myform", this.myFormData.qdetail), this.$tip.loading(),
									void this.$http.put("/sys/user/appEdit", this.myFormData)
									.then((function (e) {
										console.log(e), t.$tip.loaded(), e.data
											.success && (t.$tip.toast("提交成功"), t.$Router
												.replace({
													name: "repair"
												}))
									})).catch((function () {
										t.$tip.loaded(), t.$tip.error("提交失败")
									}))) : (this.$tip.alert("快捷维修"), !1) : (this.$tip.alert(
									"选择门号"), !1)
						},
						ChooseImage: function () {
							var e = this,
								o = this;
							t.chooseImage({
								count: 4,
								sizeType: ["original", "compressed"],
								sourceType: ["album"],
								success: function (t) {
									o.$http.upload(o.$config.apiUrl + o.uploadUrl, {
										filePath: t.tempFilePaths[0],
										name: "file"
									}).then((function (t) {
										o.myFormData.avatar = t.data
											.message
									})).catch((function (t) {
										o.$tip.error(t.data.message)
									})), e.imgList = t.tempFilePaths
								}
							})
						},
						ViewImage: function (e) {
							t.previewImage({
								urls: this.imgList,
								current: e.currentTarget.dataset.url
							})
						}
					}
				};
				e.default = r
			}).call(this, o("543d")["default"])
		},
		c919: function (t, e, o) {
			"use strict";
			o.d(e, "b", (function () {
				return r
			})), o.d(e, "c", (function () {
				return a
			})), o.d(e, "a", (function () {
				return n
			}));
			var n = {
					uniPopup: function () {
						return Promise.all([o.e("common/vendor"), o.e(
							"components/uni-popup/uni-popup")]).then(o.bind(null, "27cb"))
					}
				},
				r = function () {
					var t = this,
						e = t.$createElement;
					t._self._c
				},
				a = []
		}
	},
	[
		["0827", "common/runtime", "common/vendor"]
	]
]);